package com.eveinfo.api;


public class ApiException extends Exception {
	
	private static final long serialVersionUID = 1L;
	
	private int code;
	private String message;

	public ApiException(ApiError error) {
		code = error.getCode();
		message = error.getError();
	}

	public int getCode() {
		return code;
	}

	public String getMessage() {
		return message;
	}
	
}
